package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.SystemDictionaryItem;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {

    void delete(Long id);

    void save(SystemDictionaryItem systemDictionaryItem);

    SystemDictionaryItem getOne(Long id);

    List<SystemDictionaryItem> getAll();

    void update(SystemDictionaryItem systemDictionaryItem);

    PageInfo<SystemDictionaryItem> selctForPageResult(QueryObject qo);

    int getMaxSequence(Long parentId);

    List<SystemDictionaryItem>  selectByParentsn(String sn);
}
